package com.hyb.service;

import com.hyb.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  角色Service接口
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
public interface RoleService extends IService<Role> {

    Set<String> getRolesByStaffEmail(String staffEmail);
    List<Role> getAllRoles();
}
